package com.zhentao;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("zk-item-service")
public interface Main {
    @RequestMapping("/item/update")
    String update(@RequestParam("id")Integer id,@RequestParam("num")Integer num);
    @RequestMapping("/item/findPrice")
    Double findPrice(@RequestParam("id")Integer id);
}
